first working version of Gun