I’m not sure where this code is from. Am assuming it’s Public Domain