add goodbye feature