change args to flag