Added functionality to Bye

Untested