remove redundant methods and add a inspect method