single threaded model works without I/O operations