adding two methods