Adding pattern support
Bug note