modified driver.c and makefile added