get list data: switched results of ternary operator