appellate court affirms conviction