statis library; demo and better usage description