simplify each, find, and turn slice into only
add libs dir