Implemented custom_reset