Fix function.. it wasnt .r