Added validations

Line is too long. [81/80]