Working IOIO0502 version