Rewriting nav and collect prop id function.