first step to implement messages