v1.3 - callback functions, removed console logging