discretizing behavior