Updated for clarity and add java link