adding condition