work on javascrip pract.2&3