smarter path definitions