handle rm messages and beginning of receiving (implementation of a basic visitor pattern)