added pointer class