Use path in model