added wrapper functions