implement 'more' function