refactor: removed extra instance variable in initialize