reworked mode option. passing array is now possible
updated readme