running function for calculating Vibes