first draft

@leapfrog-dipendra  @adhpawal  @bhuwang @anishmanandhar @Satish-Gupta @utsabneupane @Msanjib 
handle these operations with try catch block and put choice.close() in the finally block