adjusted coding style. removed visual parens