added remove_na function