trying to duplicate class work