use employee class to store details