added output for assignment