removed the dependency on six