kinda got refs and pop saving working