change syntax of require statements to sugar