fix lookup for nested hammocks
implement map!