frame function to manual