not sure what i've done should probably check the status before commiting