Added in function prototype and def