update builder to add check