inplemented getting values for form