started on adding parameter to methods