set up frame