refactor. % -> str.format