removes wrapper function