adding more structures and a helper.