refactored for random fixture data