factor our frame selector