added pick in js