c should be bool or uint, no?