creating some stub functions and config