move NA checking to later