added validations and completed project