pattern specification