Improved Loader logic so testing for items could be done.