court considered the firing as sex discriminatio