I made "setIdentity" and modified according to other comments.