added drop and take
added map, has bugs with ranges
removed some debug output