removed objectCheck method