Added the bounce handler