Fixed opts paramter construction