switch over to callbacks in API and testing