re-write of scrat... it's my stuff.