changes for new interface

~ modification for new interface
+ add more, detailed methods
+ add errorhandling