Adding provider check