assign8 has been added, should be done in Java