added data/process type checks