added git ignore and isInTransaction