you don't display/return the err or purpose if it's not nil here ?