wrapper functions with warnings