unnecessary member variables removed