small bit of java