simpler require snippet