Change to named function and added errorback