first steps torwards multi threaded writing