added pi trigger
added pi trigger