Setting timing function to linear