Code added by Rishab