My attempt to make a cas