implement path params