pattern import