Added validations

Line is too long. [112/80]