Maybe this actually works but i think we have some array pointer things to work out