cleaned up require/define syntax