glm added and demo proj updated