added move to frame function