add detail in first java