renamed async func to spawn