made nav dynamic now