create a method for each part of the Bill fixed issue #58