unique ptr in fps