deleted some c stuff, added some more options to globales