Updating code for RTSHAB1