use ternary operator?