trim moved to coffee, makePath implemented