using MasterFrame in the frames