starting to understand java