this method should be removed since it is no longer used.