trying once more java code