logic to dropDown button and add head file to organize dependencies