make method static to avoid export