Added wrapper function