simple c demmo for hubo