scrap dat case statement, simplify.