moved utils from other libs to local