init with basic functions