Unions were formed to protect