Added some RSCode implementation