implemented wrapper for raspberry io