finilized everything