making global
v 0.1.12
added wrapper function