clean code + add mixed stack