This is Sams code for RPG.