turn off patterns through pretty-dont-use-pattern