fill out stub funcs for assignment 2