added tryout function and revised singleparticle with SetPosition function