Relationships and static variable changes