add assignment
add java codes