add some validations and bootstrap