final version of sh-lab