add reset method
dev demo