added require's detection