added more documentation
default option added