. . "under such penalties as may be prescribed by ordinance." . .