you can probably remove the blank line here and on line 537. also maybe rename the fnc to getMessagesSentByNode?