pre commit with data