code not stable, trying to resolve npm issues