first working version, without graphics