adding exists', map' and all'