input is optional for the roto