messenger and bind depending on action