a, b, and h are all passed in as variables now.