mc check
clean up
TRANSFER FUNCTION