Refactor praca