Made threshold a bit nicer, still a magic number