modified sh java