added item details form and some debugging