added pose prediction