HomeAtionMain - drobny refactoring