Made a small wrapper function