adding market details to java