refactored frames so that it will be easier to add others