Improved reply function
Added to 'take' function
Added to 'tp' function
Added to 'close' function