updated to handle new practice data