I know that it is deprecated, but it the only 1 compatible with 1.2.5 method