implemented dynamic adverts