adding struct