tasks 1+2, reading from JAR