added handling of auto parameters