public attribute exists
only populate data if attribute exists