edited rover code, needs to be fixed still