ensuring that module is only initialized once