fixed ada code samples