added good bye feature