add band and unband utility functions