Refactor logic 3