add tick ; add variadic in function; add log in core.js