source code now compiles, working on debugging