This is just a JS script I wrote for a student