Some code working, some code borken