build the rental functionality