added scratch pad