active class is now added programatically.