Checking dimensions works