Added to reply function