add option keys and ignore keys