deprecated get() method