adjusted to 'astro.js'-interface