added verbose functionality