should be r here instead of c