first working version
idea files