changed require order