added forward and backward parameters to the API