added checkpoint and gb