.src middleware