implemented condition in decision points