Implemented getAllOptions