mapping button cases to effect cases