adding omin directional code for P5
Merge remote-tracking branch 'origin/master'