got rid of stuff we dont need from the c code