Added custom delegate protocol to pass data back to root view