code was bad and I feel bad