decreased rectangle and changed x,y coord