Just follow the instructions. the curved function is still glichy.
Used an operator custom bock by @ProdigyZeta7