Cleaned up tim shit ;)
Change m_pElements array to generic List