renamed the sig function