added sending clinic code