removed unused rs variable.