got form working correctly