added and commited at once