added optimization QPspecial