class module added, SAMPLE.pm amended