clean up public methods and add specs