added code to call the functions