@smalyshev I've copied this from an existing piece of code. You want me to refactor it?