started on adding public methods