Added span code