opts complete should be defined here