Comment assign to messages

add comment, to make it clear why we need to assign to messages instead
of just returning.
Use correct getPollInterval().