Used tenary-ish operator