Properly used height and width variables