try to add validation check