avoiding resource conflicts