-np
- removed pos and dir loops