expanded stubs to fit progamming assignment 2