source code of my bachelor thesis