changed om el sizex and sizey to width and height