bug and new files

correcting an compilaion bug and adding json files