Changes: worked on constructor validation.