show task function