Added the modified bamini file by Sethu with comments