I do not like that width and height are hard-coded, is there a better way?