optimize method get