almost working - setParent not working