conditional resource blocks