switching get activity approach to use async library