A small chunck of realtime implementation