Added fun to generate employee record.