Working of v1 of functions