added java class