custom changes for chapter3 Frame mojit