you know that case statements don't need to be wrapped in brackets right? looks a bit weird.