added new fuction Bye