add tau and alpha as parameters