added stubs and defined schema