Simplyfied version.