Added validations

Line is too long. [99/80]