Added css and weighting system