Added CSA code