-- added moveTo and onBuild methods