Code for assignements.