implemented comunication between item and sendMEssage directives