Better method of handling requires