starting frame and option frame functionality working great