adding bounce method