added preliminary commit function for target