limit the amount of activities which can be passed in