This is in deprecated method.No longer used.