Commented realtime functions