add TODO to implement swap view function