needed classpath and properties to work correctly