added span and updated docs