still adapting source code to fit project specs