changes to CRC and introductions for activity/state diagram