reusable library

Got an error - have to treat span as a string