Integration code for senior project