attempting to deal with async issues