give some thoughts on how you were able to generate pattern?​