converter variables moved to functions