'rep' added to assign functions.