added licensing and stock tracking to the system