removed setsize
removed setSize