working on a non-moose based implemenation