refactoring don't initialize unneeded parts