heartbeat in place with handler in routes file