add frame
modify main function to show frame