noodling on a class and using it