adding dynamic navigation