library made compatible with frontend test