Code added by Abhijit