initial commit, code compiles, but not work as they should