fixed typos, so it runs. Still issues with call back