new astro functions