removed typing from callback