Fixed grammer in advanced functions