use guards in arg parsing
variable rename