better solution for external inclusion