added some help message to class based solution