Almost done with adding printks in each function