removed %opts hash