added setPosition