add code for the labmanager