modified selected column adding condition