rewrite of AstroData