move  from static to inline