separate services with blank line
move message type methods to external helper