Moved return into R3 as well for testing purposes