added ternärer operator