changed variable names smaller <-> larger