scope needs to_a then first