builds with the markinvalid function doesn't work yet...just builds