got rid of dependency on spinlog