implement a request-reply interaction, refactoring of the tick handling