Added wrapper function definitions