All the code for sophomore application