reverted a method deletion
some more changes in api