spacing/validation

fixed spacing and did validation