added support for continous building