making more npm friendly