Pass in visibility duration