Functionaility reimplentation.