implemented object reset