pass the context to modules