strings basic 3: remove unnecessary function