changing == to = for posix compliance