Added Method to get all elements