an attempt to learn dom