working version of PT for workshop