Adding statistical methods