retaining device