partial source code for my project