moved list logic into grid controller