Moved REP to FUNC

Moved the whole Reply clause to our functional file.