machine and item tables filled dynamically