before build