changed all files so now it compiles. but still doesnt run properly