Working on this source code for my college project