added algLib library