use config for bounce time