fixed shitty programming