[#28] added validations for car