+ added method 'getResource'