new days:emit function was added