heh, you should take a peak at the implementation of getOption :)