changed to use pointer and union in place of class