Small change in 'h' function