added two methods and filled methods