proof of concept for moving methods to class