updated API to alpha 0.1.6 and library version 1.2.1