remove callback generateSchema since synchhronous