integrated department to sample data
cleaned up interface