updating pid to work with jOS.h