Trying to use a paramter as a replay object (not yet finished)