Added reseted code