added initialize pos_patters.py