added status codes and return values that work better with arduino