multiple minor changes in API made