Added simple heartbeat method