Designing mindful machines