reverted order and completed check for availble recipes