changed name from lager to lagr, fixed some minor bugs