learned more JS in the meanwhile