definitions for _.flatten
definitions for _.indexOf
definitions for _.initial and _.intersection
definitions for _.last