finished refactoring by putting alphaStrut in separate class