Playing with java