#1027 functional statements into expresions