Apply example with map