Finished code for other prizm types