added get method with callback