change build method