using unique ptr for remote slots