Working version with static data