working on form checking