Created history method.