work on java assessment