this should probably be configured in the class rather.