depends on the content of the $options array