added java attributes