A THOROUGH REVIEW OF THE FUNCTIONS OF A CRIMINAL DEFENSE ATTORNEY