moved commits into seperate thread