SR clean code