changed form to accept 'm' and 'f' instead of male female