correctly calls smile function