adding S-G word complexity measure