better check nothing in struct is empty