minor changes to api; more informative print statements in build