three layer architecture(lab test)