Raven?

Hello, saw a bird today that I really think was a Raven, but I’ve never seen one around my area before. It was a big black bird, just bigger than the size of a small crow, which is why I initially thought it was a crow. However, it flew upwards (about double the height of a house) and proceeded to do a semi-backflip mid air by fully leaning backwards. When it leant backwards, it produced a raven style croak, definitely not a crow style caw. This is why I am confused as the size would suggest a crow but the actions a raven, any ideas are welcome. Thanks, Ellis