minor syntax refactor