Function and other stuff
todos