added file with basic functions