trying out an async callback thing