Added tick callback format function