HAIR by JAVA