change code to check bedrooms dropdown only when needed