write basic schema