adding sites working code