Use getAsteroidData instead of duplicating code