sorted out the stub for the program