fixed Stacker to work with one class