i realize it was called 'r' before, but we should avoid single letter variable names, especially here were it could be confused with red