More uniform code to make the idea more clear.