Delegate wired. Need to make functional.