added krupa code

added krupa code