Added options array to constructor