removed use of auto