Using the code for short assignment.