added wrapper and updated docs