added validations - need to prettify them