addingb functions