added code to handle employee ids and commissions