changed default code from navbar