in progress of creating s3 classes