Version 1.1 adding statistical functionalities