refactor rulers controller