extracted stacky class