finishes implementation of 'paste'. closes #36