refactored initializing process.
changed decorator name and position.
deleted a disused method and changed state variable initialization.