No need to extra variable r