[pasar & attention Selector]

remove unused variables and add doc.