added a minimal working version