activity psuedocode work