Changed whole appointment java