dont judge, learning JS :P