max_width and max_height instead of width and height