renamed ext. added method to lib.