inserting load code added, buggy