first working version for maven integration