added m_target member to keep track of target information. This is to