removed chip select from constructor function arguments