some dumb mistake with 'or' operator