writeTable, createTable methods agruments list switched to options array