made x,y changeable, added changable scale