started adding in view your voted function