made a secondary class for lost items and made it funcitonal in JS