server common function is starting with commit