adding condition option