rename package plus added a generic method example