This should just be a builder instead of using phases (see manual)