review done in class and practice of JS