The parameter is called heading, not bearing.