eddited java and g