updated DefaultData to use className param