preparing for external usage