fixed options typo error
Added demofs for testing purposes;