objects and planFragment little refactoring