fixed spacing and deleted old code