removed dependency of dplyr