Added validations

Line is too long. [86/80]