refactor + check existence of callback for received messages