added jars and some logic