common file for functions and some other stuff