added closed list to search (not very usefull?)