changed interface to remove unused methods
removed useless print