adding struct to project