removing use of instanceof