added ability to change position size