machanize is used not only in tests