build after adding custom attributes