Added prepare method and underscore