add process method for messenger