Create realtime functions (final)

#335