a rough but working product selection thing