added code for work permit map