added pointer struct