modifed a minor problem with sample size calculation :)