in-only pattern support added