i finally remembered how to JavaScript