Worked around const pointer